package com.onefinger.manager.vos
{
	[Bindable]
	[RemoteClass( alias="com.onefinger.domain.Device" )]
	public class Device
	{
		public var id:Number = 0;
		public var name:String;
		public var mac:String;
	
		/**
		 * Clone create a clone of this  using copyFrom behavior
		 */
		public function clone():Device
		{
			var clone:Device = new Device();
			clone.copyFrom( this );
			return clone;
		}
		
		/**
		 * Method to copy an Category into this VO
		 */
		public function copyFrom( device:Device ):void
		{
			id = device.id;
			name = device.name;
			mac = device.mac;
		}
	}
}